<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <base th:href="@{/}">
</head>
<body>
  <h2>文件上传页面</h2>
    <hr>
  <form th:action="@{/file/regist}" method="post" enctype="multipart/form-data">
    <input type="text" name="account"> <br>
    <input type="file" name="header"> <br>
    <input type="submit" value="注册">
   </form>
    <img th:src="@{/}+${src}"/>
</body>
</html>